home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 April: Mac OS SDK / Dev.CD Apr 98 SDK1.toast / Development Kits (Disc 1) / Apple Game Sprockets / RAVE SDK 1.06 GM for MacOS / Example Projects / GameScene / GSUtilities.h < prev   
Encoding:
Text File  |  1996-03-18  |  874 b   |  38 lines  |  [TEXT/ALFA]

  1. // ===========================================================================
  2. //    
  3. //     GSUtilities.h 
  4. //    
  5. //    Copyright (C) 1996 Apple Computer, Inc.  All rights reserved.
  6. //
  7. // ===========================================================================
  8.  
  9.  
  10. // ===========================================================================
  11. //    Includes
  12. // ===========================================================================
  13.  
  14. #if (kQAPlatform == kQAMacOS)
  15.     #include <Files.h>
  16.     #include <QuickDraw.h>
  17. #endif
  18.  
  19.  
  20. // ===========================================================================
  21. //    Prototypes
  22. // ===========================================================================
  23.  
  24. #if (kQAPlatform == kQAMacOS)
  25.  
  26.     GDHandle
  27. GSFindDeepestMacDisplay(void);
  28.  
  29. #endif
  30.  
  31.     Boolean
  32. GSIsPowerOf2(
  33.     unsigned long             inNumber,
  34.     unsigned short*         outPower);
  35.  
  36.     float 
  37. GSRandomFloat(void);
  38.